package com.sjgs.gis.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 安装包管理
 * @author jxw
 */
@Service
public class PackageDeployService implements DeployService {

    private final Logger log = LoggerFactory.getLogger(PackageDeployService.class);

    @Value("${deploy.download-dir:/tmp}")
    private String downloadDir;

    @Value("${deploy.app-dir:/usr/local/tomcat/webapps}")
    private String appDir;

    @Value("${deploy.data-dir:/root/data}")
    private String dataDir;

    @Value("${deploy.native-dir:/usr/local/tomcat/native-jni-lib}")
    private String nativeDir;

    @Value("${deploy.plugin-dir:/WEB-INF/lib}")
    private String pluginDir;


    private final  FileService fileService;

    public PackageDeployService(FileService fileService) {
        this.fileService = fileService;
    }
}
